<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:msds="http://matsadaml.org/msds/v1.0"
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	exclude-result-prefixes="msds">
	<xsl:output method="xml" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
		doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
		encoding="UTF-8" indent="yes" />
	<xsl:strip-space elements="*" />
	<xsl:template match="/">
		<html xmlns="http://www.w3.org/1999/xhtml">
			<head>
				<title>MatsadaML Safety Phrases</title>
				<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
				<meta http-equiv="Content-Language" content="en" />
				<link rel="stylesheet" type="text/css" media="screen"
					href="../ResourceFiles/Styles/general.css" />
				<link rel="stylesheet" type="text/css" media="print"
					href="../ResourceFiles/Styles/printgeneral.css" />
			</head>
			<body>
				<div id="page">
					<div id="header">
						<h3>MatsadaML Overview Report:</h3>
						<h1>Safety Phrases</h1>
					</div>
					<div id="content">
						<div class="section" id="safetyphrases">
							<table class="outlined">
								<tr>
									<th>key</th>
									<th>code</th>
									<th>1st text entry</th>
								</tr>
								<xsl:for-each select="msds:safetyPhrases/msds:safetyPhrase">
									<tr>
										<td>
											<xsl:value-of select="@key" />
										</td>
										<td>
											<xsl:value-of select="msds:code" />
										</td>
										<td>
											<xsl:value-of select="msds:text[1]" />
										</td>
									</tr>
								</xsl:for-each>
							</table>
						</div>
					</div>
					<div id="footer">
						<p>MatsadaML, Material Safety Data in your hands</p>
					</div>
				</div>
			</body>
		</html>
	</xsl:template>
</xsl:stylesheet>
